package com.zx.framework.plat.project.po;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * Project entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="s_project")

public class Project  implements java.io.Serializable {


    // Fields    

     private String id;
     private String name;
     private String type;
     private Integer status;
     private String secret;


    // Constructors

    /** default constructor */
    public Project() {
    }

    
    /** full constructor */
    public Project(String id, String name, String type, Integer status, String secret) {
        this.id = id;
        this.name = name;
        this.type = type;
        this.status = status;
        this.secret = secret;
    }

   
    // Property accessors
    @Id 
    
    @Column(name="ID", unique=true, nullable=false, length=64)

    public String getId() {
        return this.id;
    }
    
    public void setId(String id) {
        this.id = id;
    }
    
    @Column(name="NAME", nullable=false, length=100)

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    
    @Column(name="TYPE", nullable=false, length=64)

    public String getType() {
        return this.type;
    }
    
    public void setType(String type) {
        this.type = type;
    }
    
    @Column(name="STATUS", nullable=false, precision=1, scale=0)

    public Integer getStatus() {
        return this.status;
    }
    
    public void setStatus(Integer status) {
        this.status = status;
    }
    
    @Column(name="SECRET", nullable=false, length=64)

    public String getSecret() {
        return this.secret;
    }
    
    public void setSecret(String secret) {
        this.secret = secret;
    }
   








}